/**
 * 
 */
package com.study.dao;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Result;
import org.apache.ibatis.annotations.One;
import org.apache.ibatis.annotations.Results;
import org.apache.ibatis.annotations.Select;
import org.apache.ibatis.mapping.FetchType;

import com.study.entity.Classes;
import com.study.entity.GatewayHandlerEntity;
import com.study.entity.Teacher;

/**
 * 关联查询
 * @author Administrator
 * @date 2019年5月14日
 */
public interface ITeacher {

	//通过注解实现mapper
	@Select("select t_id id, t_name name from teacher where t_id = #{id}")
	public Teacher getTeacher(int id);
	

}
